package com.xhej.rowreat.model;

import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component("importJson")
@ConfigurationProperties(prefix="input")
@PropertySource("classpath:/inputjson.properties")
public class ImportJson {
	//自定义字段
	private String rule;
	//不参与排序的座位
	private List<Seat> manualSeatList;
	//不参与排序的人
	private List<User> specificPersonList;
	//每行座位数
	private List<Seat> list;
	//排座位总机构
	private List<Bank> banklist;
	//排座位总人数
	private List<User> userlist;
	public String getRule() {
		return rule;
	}
	public void setRule(String rule) {
		this.rule = rule;
	}
	public List<Seat> getManualSeatList() {
		return manualSeatList;
	}
	public void setManualSeatList(List<Seat> manualSeatList) {
		this.manualSeatList = manualSeatList;
	}
	public List<User> getSpecificPersonList() {
		return specificPersonList;
	}
	public void setSpecificPersonList(List<User> specificPersonList) {
		this.specificPersonList = specificPersonList;
	}
	public List<Seat> getList() {
		return list;
	}
	public void setList(List<Seat> list) {
		this.list = list;
	}
	public List<User> getUserlist() {
		return userlist;
	}
	public void setUserlist(List<User> userlist) {
		this.userlist = userlist;
	}
	public List<Bank> getBanklist() {
		return banklist;
	}
	public void setBanklist(List<Bank> banklist) {
		this.banklist = banklist;
	}
	
	
}
